﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="GroupBuy.View.Login" %>

<%@ Register TagPrefix="uc" TagName="Header" Src="~/View/Header.ascx" %>
<%@ Register TagPrefix="uc" TagName="Footer" Src="~/View/Footer.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title></title>
	<link rel="stylesheet" href="../Resources/css/index.css" type="text/css" media="screen"
		charset="utf-8" />
	<script type="text/javascript">
		function validateLogin() {
			var txtEmail = document.getElementById('login-email-address').value
			alert(txtEmail)
			return false;
		}
	</script>
</head>
<body>
	<uc:Header runat="server" />
	<div id="bd" class="cf">
		<div id="login">
			<div id="content" class="login-box">
				<div class="box">
					<div class="box-top">
					</div>
					<div class="box-content">
						<div class="head">
							<h2>
								登录
							</h2>
							<span>&nbsp;或者 <a href="Register.aspx">注册</a> </span>
						</div>
						<div class="sect">
							<form  action="" class="validator" runat="server">
							<div class="field email">
								<label for="login-email-address">
									Email／用户名
								</label>
								<input type="text" size="30" name="username" id="login-email-address" class="f-input"
									value="" />
							</div>
							<div class="field password">
								<label for="login-password">
									密码
								</label>
								<input type="password" size="30" name="password" id="login-password" class="f-input" />
								<span class="lostpassword"><a href="#">忘记密码？</a> </span>
							</div>
							<div class="field autologin">
								<input type="checkbox" value="1" name="auto-login" id="autologin" class="f-check"
									checked="checked" />
								<label for="autologin">
									下次自动登录
								</label>
							</div>
							<div class="act">
								<asp:Button ID="btnLogin" Text="登陆" CssClass="formbutton" runat="server" OnClientClick="return validateLogin();" />
							</div>
							</form>
						</div>
					</div>
					<div class="box-bottom">
					</div>
				</div>
			</div>
			<div id="sidebar">
				<div class="sbox">
					<div class="sbox-top">
					</div>
					<div class="sbox-content">
						<div class="side-tip">
							<h2>
								还没有美团账户？
							</h2>
							<p>
								立即 <a href="Register.aspx">注册</a>，仅需30秒！
							</p>
						</div>
					</div>
					<div class="sbox-bottom">
					</div>
				</div>
			</div>
		</div>
	</div>
	<uc:Footer runat="server" />
</body>
</html>
